<?php foreach ($cats as $cat) :?>

<?php print_r($cat); ?>
<?php endforeach;?>